package com.base.day9;

import java.math.BigDecimal;
//直接对应一个数据库表的类，一般叫实体类。entity

public class Product {
	private BigDecimal price;
	private int id;
	private String name;
	private String category;
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	

}
